package ull;

import model.UserModel;
import udl.UserDao;

public class UserLogin {
    static UserDao userDao = new UserDao();
    public static int[] login(String name, String password) {
        return userDao.Login(name,password);
    }

    public int judges(String name) {
        return userDao.judges(name);
    }

    public void addUser(UserModel user) {
        userDao.addUser(user);
    }
}
